places-view: monitor network
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 10 Apr 2017 21:59:33 +0000 (18:59 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 10 Apr 2017 22:36:02 +0000 (19:36 -0300)
commit767927aef309761754ce9da8062e20521761b6e0
treebb8fd8c199ea650047bfcac475c03f7ce88a95a7
parent529b8f81974e7d9948f4cbabfb8ec498e4a1d73b
places-view: monitor network

GtkPlacesView exposes local access points and network
shares transparently by using the 'network:///' URI,
which is handled by GIO.

Currently, however, it doesn't monitor the network
for new available points, such as computers that just
join the network. It may happen too that the backend
won't find all the networks before the network enumeration
finishes.

Fix that by keeping a file monitor inspecting the network
uri, and update the places list when that happens.

https://bugzilla.gnome.org/show_bug.cgi?id=781162
gtk/gtkplacesview.c